using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Healinker.Entities
{    
    public partial class CodeClass
    {
        [Key]
        public int Id { get; set; }

        [Required, StringLength(10)]
        public string Code { get; set; }

        [Required, StringLength(50)]
        public string Name { get; set; }
    
        public virtual ICollection<DiseaseClass> DiseaseClasses { get; set; }
        public virtual ICollection<Disease> Diseases { get; set; }
    }
}
